package com.cakemallproject;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

//启用servlet
//@ServletComponentScan

@SpringBootApplication
@MapperScan("com.cakemallproject.mapper")
public class CakeMallProjectApplication {

    public static void main(String[] args) {
        SpringApplication.run(CakeMallProjectApplication.class, args);
    }

}
